/*
Copyright SecureKey Technologies Inc. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/

package transactor

import (
	"git.cloud.inspur.com/ichain/ichain-sdk-go/pkg/providers/ichain"
)

type transactionHeader struct {
	id      ichain.TransactionID
	creator []byte
	nonce   []byte
	chainID string
}

func (th *transactionHeader) TransactionID() ichain.TransactionID {
	return th.id
}

func (th *transactionHeader) Creator() []byte {
	return th.creator
}

func (th *transactionHeader) Nonce() []byte {
	return th.nonce
}

func (th *transactionHeader) ChainID() string {
	return th.chainID
}
